#ifndef FILEWIDGET_H
#define FILEWIDGET_H

#include <QWidget>

namespace Ui {
class filewidget;
}

class filewidget : public QWidget
{
    Q_OBJECT

public:
    explicit filewidget(QWidget *parent = nullptr);
    ~filewidget();


    void SendFontFile();
    void SendFirmwareFile();
    void SendAnimationFile();
    void SendImgFile();
    void getCfg();

    void SendCMD(uint8_t func1,uint8_t func2,uint8_t func3,int data1,int data2,int data3);
signals:
    void sendData(char *data,int len);
private:
    Ui::filewidget *ui;

    int packageSize;
    int delayTime;
};

#endif // FILEWIDGET_H
